runtime.mcache.scanAlloc (field)
9 uses
runtime (current package)
arena.go#L504: c.scanAlloc += size - (typ.Size_ - typ.PtrBytes)
arena.go#L506: c.scanAlloc += typ.PtrBytes
malloc.go#L1159: c.scanAlloc += scanSize
mcache.go#L25: scanAlloc uintptr // bytes of scannable heap allocated
mcache.go#L212: gcController.update(int64(s.npages*pageSize)-int64(usedBytes), int64(c.scanAlloc))
mcache.go#L213: c.scanAlloc = 0
mcache.go#L261: scanAlloc := int64(c.scanAlloc)
mcache.go#L262: c.scanAlloc = 0
mgc.go#L1533: c.scanAlloc = 0
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |